<template>
    <section class="home">
        <mt-swipe :auto="10000">
            <mt-swipe-item>
                第一张图片
            </mt-swipe-item>
            <mt-swipe-item>
                第二张图片
            </mt-swipe-item>
            <mt-swipe-item>
                第三种图片
            </mt-swipe-item>
        </mt-swipe>

            <ul class="mui-table-view mui-grid-view mui-grid-9">
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                    <router-link to="/home/newslist">
                    <span class="mui-icon mui-icon-home"></span>
                    <div class="mui-media-body">首页</div>
                    </router-link>
                </li>

            </ul>
       <!-- <table class="table">
            <thead>
                <tr >
                    <th v-for="(val,key) in lunbotuList[0]" :key="val">{{key}}</th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="(item) in lunbotuList" :key="item.id">
                    <td v-for="val in item ">{{val}}</td>
                </tr>
            </tbody>
        </table>-->
    </section>
</template>

<script>
  import { Toast } from 'mint-ui';

  export default {
        data() {
          return {
            username:null,
            lunbotuList:[],
          }
        },
        methods:{

        },
  }
</script>

<style scoped lang="scss">
    .home {
        .mint-swipe {
            height:180px;
            background: #007aff;
            .mint-swipe-item{
                &:nth-child(1) {
                    background: red;
                }
                &:nth-child(2) {
                    background: #4cae4c;
                }
                &:nth-child(3) {
                    background: #2518ae;
                }
            }
        }
    }
    .mui-grid-view.mui-grid-9 {
        background: none;
        border:0;
    }
    .mui-grid-view.mui-grid-9 .mui-table-view-cell {
        border:0;
    }
</style>